#ifndef CANVAS_H
#define CANVAS_H

#include<QLabel>
#include <QWidget>
#include <QGridLayout>
#include"GraphView.h"

class Canvas:public QWidget
{
    Q_OBJECT
private:
    GraphView* view;
    QHBoxLayout* MainLayout;
    QLabel* name;

    void Initial();
public:
    Canvas(QWidget* parent=nullptr);

/*private slots:
    void AddVertex(Vertex*);
    void AddEdge(Edge*);*/

};

#endif // CANVAS_H
